SuggestionBackedTextFieldWidget

constructor(    width: Int,     height: Int,     wrappedValue: Supplier<String>,     choiceValidator: ChoiceValidator<String>,     validator: EntryValidator<String>,     applier: Consumer<String>,     suggestionProvider: SuggestionBackedTextFieldWidget.SuggestionProvider)


constructor(    width: Int,     height: Int,     wrappedValue: Supplier<String>,     choiceValidator: ChoiceValidator<String>,     validator: EntryValidator<String>,     applier: Consumer<String>,     suggestionProvider: SuggestionBackedTextFieldWidget.SuggestionProvider,     closePopup: Boolean)

Parameters

width

Int - the width of the widget in pixels

height

Int - the height of the widget in pixels

wrappedValue

Supplier - supplies strings to the text field for display

choiceValidator

ChoiceValidator - additional choice validation, if any. Generally this can be ChoiceValidator.any

validator

EntryValidator - String validation provider see EntryValidator.Builder for more details on validation construction

applier

Consumer - accepts newly valid user inputs.

suggestionProvider

SuggestionProvider - provides the valid suggestions for the user

closePopup

Boolean - if true, this window will 'pop' the latest PopupWidget, if any.